<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>

<style type="text/css">
.ui-widget {
	font-size: 75% !important;
}
.ui-widget .ui-widget {
	font-size: 100% !important;
}
</style>

<link rel="stylesheet" type="text/css" href="#{resource['css:style.css']}" />

<title>
<ui:insert name="title">Page Title</ui:insert>
</title>


<ui:insert name="javascripts">

</ui:insert>

<ui:insert name="header">
	<ui:include src="/templates/login.xhtml" />
</ui:insert>

</h:head>

<body bgcolor="#ffffff">
	<ui:insert name="header">
	<div id="header">
		<div id="header_inside">
			<h:graphicImage library="images" name="header.jpg" width="999" height="222" usemap="#Map"/><br />																																									<div class="inner_copy"><a href="http://www.greatdirectories.org/">web directories</a><a href="http://www.bestfreetemplates.info/">free CSS templates</a></div>
			<ul id="menu">
				<ui:insert name="header.homepage"><li><h:link outcome="homepage.xhtml" class="but1" value="Anasayfa"/></li></ui:insert>
				<ui:insert name="header.hesabim"><li><a href="" class="but2">Hesabım</a></li></ui:insert>
				<ui:insert name="header.anketlerim"><li><h:link outcome="anketlerim.xhtml" class="but3" value="Anketlerim"/></li></ui:insert>
				<ui:insert name="header.yeni.anket"><li><h:link outcome="newPoll.xhtml" class="but4" value="Yeni Anket"/></li></ui:insert>
				<ui:insert name="header.hakkimda"><li><a href="" class="but5">Hakkımda</a></li></ui:insert>
				<ui:insert name="header.iletisim"><li><a href="" class="but6">İletişim</a></li></ui:insert>
			</ul>
		</div>
	</div>
	</ui:insert>
	
	<ui:insert name="content">
	<div id="wrapper">
		<div id="content_inside">
			
			<ui:insert name="sidebar">		
			<div id="sidebar">
				<h:graphicImage library="images" name="title1.gif" width="174" height="30" /><br />																																																																		<div class="inner_copy"><a href="http://www.bestfreetemplates.org/">free templates</a><a href="http://www.bannermoz.com/">banner templates</a></div>
				<ul id="list">
					<li class="color"><a href="#">Illum secundum</a></li>
					<li><a href="#">Tamen causa ut diam</a></li>
				</ul>
			</div>
			</ui:insert>
			
			<ui:insert name="main">
			<div id="main_block">
				<div class="about">
					<h:graphicImage library="images" name="title2.gif" width="191" height="30" /><br />	
					<p>Illum secundum exerci erat plaga illum, enim, venio. Tamen causa ut diam torqueo sagaciter inhibeo si quae exerci lobortis. Appellatio vel hos autem, ludus luptatum mauris ratis jugis interdico. Gilvus consequat abico demoveo lenis validus typicus ut commodo. Consequat, eu voco cui eros, euismod quis illum, commodo. Nibh valde tincidunt ex quae ratis meus neo aliquam. Appellatio vel hos autem, ludus luptatum mauris ratis jugis interdico. Gilvus consequat abico demoveo lenis validus typicus ut commodo. Consequat, eu voco cui eros, euismod quis illum, commodo. Nibh valde tincidunt ex quae ratis meus neo aliquam. </p>
					<a href="#">more info</a>
				</div>
				<div class="news">
					<h2>Üye Girişi</h2>
					<p>Illum secundum exerci erat plaga illum, enim, venio. Tamen causa ut diam torqueo sagaciter inhibeo si quae exerci lobortis. Appellatio vel hos autem, ludus luptatum mauris ratis jugis interdico. Gilvus consequat abico demoveo lenis validus typicus ut commodo. Consequat, eu voco cui eros, euismod quis illum, commodo. </p>
				</div>
				<div id="items">
					<ui:repeat var="o" value="#{homePageBean.getAllPolls()}">
					
					<div class="item">
					<p><br /></p><p><span>&nbsp;</span></p>
					<h2>#{o.title}</h2><br/>
					<ui:repeat var="o2" value="#{o.getAllOptions()}">
					<p><br /></p><p><span>&nbsp;</span></p>
					<div>#{o2.content}<br /></div>
					</ui:repeat>
					</div>
					</ui:repeat>
					
					

  
  
				</div>
				
				
			</div>
			</ui:insert>
		</div>
	</div>
	</ui:insert>
	
	<ui:insert name="footer">
	<div id="footer">
		<div id="footer_inside">
			<ul class="footer_menu">
				<li><a href="index.html">Home Page</a>|</li>
				<li><a href="index2.html">About Us</a>|</li>
				<li><a href="index2.html">News &amp; Events</a>|</li>
				<li><a href="index2.html">Services</a>|</li>
				<li><a href="index2.html">My Account</a>|</li>
				<li><a href="index2.html">Contacts</a></li>
			</ul><br /><br />
			<p>Copyright &copy;. All rights reserved. Design by Mustafa ÇALIK</p>																																																											
		</div>
	</div>
	</ui:insert>	
</body>

</html>